// create_scrollbar(direction)
sb_val[sb_count] = 0
sb_dir[sb_count] = argument0
sb_press[sb_count] = 0
sb_count += 1
return sb_count - 1
